<?php

namespace IDock\Insurance\ZFIC\Request;

use IDock\Insurance\ZFIC\Response\CommonResponse;
use IDock\Visitor\ProposalRecallVisitor;

class GetOrderNoRequest extends AllZFICRequest
{

    protected $urlTip = '交易流水号获取接口';

    protected $route = 'order/api/order/tradeNo';

    protected $response = CommonResponse::class;

    /*** @var ProposalRecallVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        return [
            "businessNo" => $this->visitor->argc['businessNo'] ?? '',
            'proposalNo' => $this->visitor->inquiryNo,
            'issUserCode' => ''
        ];
    }
}
